
package com.foreveross.bsl.mam.model.device.domain;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.foreveross.bsl.mongodb.domain.Entity;



/**
 * 
 * 设备场景
 * @author tanzhixiong
 * @2013-7-8 @下午6:45:54
 */
@Document
public class DeviceScene extends Entity{
	
	@Id
	private String id;
	
	/**
	 * 场景名
	 */
	@Field("name")
	private String name;
	
	/**
	 *描述
	 */
	@Field("describe")
	private String describe;
	
	
	/**
	 *代码
	 */
	@Field("code")
	private String code;
	
	/**
	 *场景状态
	 */
	@Field("state")
	private int state;
	
	/**
	 *创建时间 
	 */
	@Field("createTime")
	private Date createTime;
	
	/**
	 * 修改时间；
	 */
	@Field("modified_time")
	private Date modified_time;


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getDescribe() {
		return describe;
	}


	public void setDescribe(String describe) {
		this.describe = describe;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public int getState() {
		return state;
	}


	public void setState(int state) {
		this.state = state;
	}


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getModified_time() {
		return modified_time;
	}


	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}

	
}